from rqalpha import run

config = {
    "base": {
        "strategy_file": "E:/pythonWorkSpace/rqalpha/rqalpha\examples/rsi.py",
        "start_date": "2014-06-01",
        "end_date": "2016-12-01",
        "stock_starting_cash": 100000,
        "data_bundle_path":"D:/rqalpha/bundle/",
        "benchmark": "000300.XSHG",

    },
    "extra": {
        "log_level": "verbose",

    },
    "mod": {
        "sys_progress": {
            "enabled": True,
            "show": True,
        },
        "sys_simulation": {
            "commission_multiplier": 0.01,
            "matching_type": "next_bar",
        },
        "sys_analyser":{
            "enabled":True,
            "plot":True,
            "report":True,
            "output_file":"e:/reportFrank.pkl",
            "plot_save_file":"e:/frank.png",
            "report_save_path":"e:/"
        },
    },
}

run(config)